#include "VSLightActor.h"
#include "VSGraphicInclude.h"
#include "VSStream.h"
#include "VSDirectionLight.h"
#include "VSPointLight.h"
#include "VSProjLight.h"
#include "VSSpotLight.h"
using namespace VSEngine2;

IMPLEMENT_RTTI_NoCreateFun(VSLightActor,VSActor)
BEGIN_ADD_PROPERTY(VSLightActor,VSActor)
//REGISTER_PROPERTY(m_fMaxVelocity,m_fMaxVelocity,VSProperty::F_SAVE_LOAD_CLONE | VSProperty::F_REFLECT_NAME);
// REGISTER_PROPERTY(m_LocalScale,Scale);
// REGISTER_PROPERTY(m_LocalRotate,Rotate);
END_ADD_PROPERTY
IMPLEMENT_INITIAL_NO_CLASS_FACTORY_BEGIN(VSLightActor)
IMPLEMENT_INITIAL_NO_CLASS_FACTORY_END
VSLightActor::VSLightActor()
{

}
VSLightActor::~VSLightActor()
{

}

IMPLEMENT_RTTI(VSDirectionLightActor,VSLightActor)
BEGIN_ADD_PROPERTY(VSDirectionLightActor,VSLightActor)
END_ADD_PROPERTY
IMPLEMENT_INITIAL_BEGIN(VSDirectionLightActor)
IMPLEMENT_INITIAL_END
VSDirectionLightActor::VSDirectionLightActor()
{
	m_pNode = VS_NEW VSDirectionLight();
}
VSDirectionLightActor::~VSDirectionLightActor()
{

}


IMPLEMENT_RTTI(VSPointLightActor,VSLightActor)
BEGIN_ADD_PROPERTY(VSPointLightActor,VSLightActor)
END_ADD_PROPERTY
IMPLEMENT_INITIAL_BEGIN(VSPointLightActor)
IMPLEMENT_INITIAL_END
VSPointLightActor::VSPointLightActor()
{
	m_pNode = VS_NEW VSPointLight();
}
VSPointLightActor::~VSPointLightActor()
{

}